home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 36 / qw10add.zip / IDE.TEC < prev    next >
Text File  |  1990-02-14  |  4KB  |  92 lines

  1. This file is from Ontrack Computer Systems' BBS (612) 937-0860.
  2.  
  3.  
  4.  
  5.                         AT INTERFACE DRIVES
  6.  
  7.  
  8.  
  9. An AT interface drive, also known as IDE (Integrated Drive
  10. Electronics), has the ability to configure itself to whatever geometry
  11. the host system indicates through the setup tables. This is done to
  12. make the drive standard to a broader range of drive tables. Since the
  13. geometry is flexible, there doesn't have to be an exact match in the
  14. system BIOS for the drive to operate at its full capacity. There only
  15. needs to be an entry which has the same amount of storage.
  16.  
  17. This approach works fine until an AT interface drive is installed into
  18. a machine which doesn't have an entry that matches the capacity of
  19. the drive. In the event that the system doesn't have an entry that has
  20. the same capacity of the drive, some additional steps will be required.
  21. The procedure is outlined below.
  22.  
  23. 1. Find the setup type that is closest to the capacity of the drive,
  24.    making certain that the setup type is not larger than the capacity
  25.    of the drive. Capacity is calculated as follows: heads X cylinders
  26.    X sectors-per-track X 512 (bytes per sector).
  27.  
  28. 2. When the drive type has been selected you must create an entry
  29.    in the DMPARMS.OCS file which has the same number of heads
  30.    and sectors-per-track but includes enough cylinders to equal the
  31.    actual storage capacity of the drive.
  32.  
  33. NOTE:   The reason that the number of heads and sectors-per-track
  34.         must match is that when Disk Manager informs the system
  35.         that the drive is actually different from what the entry in
  36.         CMOS indicates, the drive will logically re-map itself to the
  37.         new geometry. When this happens the physical sectors
  38.         (which contain data) are remapped logically. Fortunately, if
  39.         the number of heads and sectors-per-track don't change the
  40.         physical to logical sector relationship doesn't change either.
  41.         The additional data area is simply added to the end of the
  42.         logical structure under which the drive was operating when
  43.         the computer was booted (prior to the system loading
  44.         DMDRVR.BIN). Unfortunately, if the number of heads or
  45.         sectors-per-track change (due to a difference between the
  46.         BIOS drive table and the parameters loaded by
  47.         DMDRVR.BIN) then the physical to logical sector
  48.         relationship also changes. When this happens, the boot
  49.         process is halted since the data has been moved and the
  50.         operating system has not been informed.
  51.  
  52. Here is an example using a 100Mb drive with the AT interface:
  53.  
  54. In an IBM AT the closest drive type would be type 4. This drive type
  55. has 940 cylinders, 8 heads and 17 sectors-per-track. Using the formula
  56. we find this drive type to be 65 Mb:
  57.  
  58. 940 X 8 X 17 X 512 = 65,454,080
  59.  
  60. If the result had matched the capacity of the drive we would be able
  61. to simply use the drive type 4 geometry and call the drive a standard
  62. drive. More likely however, we will need to work backwards to
  63. determine what the entry in the parameter file will look like. Working
  64. backwards the formula looks like this:
  65.  
  66. 100,000,000 / 512 / 17 / 8 = 1436.12
  67.  
  68. Since we can only work with whole numbers the result will be
  69. truncated. When the number comes out with a remainder, as it has in
  70. the example, the digits to the right of the decimal point must be
  71. dropped. We will now use the 1436 cylinders in the DMPARMS.OCS
  72. file to describe the drive. The entry will look like this:
  73.  
  74. My-100M                    1436,8,0,65535,11,13,12,180,40,1436,17
  75.  
  76. The values in the string of numbers identify the following:
  77.  
  78. number of cylinders (1436), number of heads (8), reduced write
  79. current start cylinder (0), write precompensation start cylinder (65535),
  80. ECC correction length (11), control byte (13), standard time-out value
  81. (12), format drive time-out value (180), check drive timeout value
  82. (40), landing zone cylinder number (1436), sectors-per-track (17),
  83. reserved (not shown in the example)
  84.  
  85. When the entry has been added to the list it will appear in the list
  86. when the manufacturer to which the entry has been added is selected.
  87.  
  88. 3. When the above steps have been completed, Disk Manager can
  89.    be run in either the automatic or manual mode. The only
  90.    difference is that you will use the "My-100M" model drive rather
  91.    than the actual model number.
  92.